package com.itcast.java.order.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 支付信息表实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:33:23
 */
@Data
@TableName("oms_payment_info")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "OmsPaymentInfoEntity对象", description = "支付信息表")
public class OmsPaymentInfoEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "id")
                @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "订单号（对外业务号）")
    @TableField("order_sn")
        private String orderSn;

        @ApiModelProperty(value = "订单id")
    @TableField("order_id")
        private Long orderId;

        @ApiModelProperty(value = "支付宝交易流水号")
    @TableField("alipay_trade_no")
        private String alipayTradeNo;

        @ApiModelProperty(value = "支付总金额")
    @TableField("total_amount")
        private BigDecimal totalAmount;

        @ApiModelProperty(value = "交易内容")
    @TableField("subject")
        private String subject;

        @ApiModelProperty(value = "支付状态")
    @TableField("payment_status")
        private String paymentStatus;

        @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
        private Date createTime;

        @ApiModelProperty(value = "确认时间")
    @TableField("confirm_time")
        private Date confirmTime;

        @ApiModelProperty(value = "回调内容")
    @TableField("callback_content")
        private String callbackContent;

        @ApiModelProperty(value = "回调时间")
    @TableField("callback_time")
        private Date callbackTime;

        }